PRT_LINE x1k10 ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º MC68901 º º bit assignments º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Motorola Corporation 68901 Multi-Fonction Peripheral ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ General Purpose input output ³ b7=monochrom monitor (NOT) ³ Interrupt Port ³ b6=auxiliary ring indicator (NOT) ³ ³ b5=FDC/HDC (NOT) ³ ³ b4=MC6850_IKBD/MC6850_MIDI (NOT) ³ ³ b3=blitter busy (NOT) ³ ³ b2=auxiliary clear to send (NOT) ³ ³ b1=auxiliary data carrier detected (NOT) ³ ³ b0=printer busy (NOT) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Active Edge Register ³ b7-b0=(see GPIP) (0:low 1:high) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Data Direction Register ³ b7-b0=(see GPIP) (0:input 1:output) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ Priority & ³ Interrupt Enable Register A ³ Vector [b3-b0] ³ ³ b7=monochrom monitor 1111 ³ ³ b6=auxiliary ring indicator 1110 ³ ³ b5=timer A 1101 ³ ³ b4=auxiliary receive register full 1100 ³ ³ b3=auxiliary receive error 1011 ³ ³ b2=auxiliary transmit register empty 1010 ³ ³ b1=auxiliary transmit error 1001 ³ ³ b0=timer B 1000 ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Interrupt Enable Register B ³ b7=FDC/HDC 0111 ³ ³ b6=MC6850_IKBD/MC6850_MIDI 0110 ³ ³ b5=timer C 0101 ³ ³ b4=timer D 0100 ³ ³ b3=blitter busy 0011 ³ ³ b2=auxiliary clear to send 0010 ³ ³ b1=auxiliary data carrier detected 0001 ³ ³ b0=printer busy 0000 ³ ³ (0:disable 1:enable) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Interrupt Pending Register A/B ³ b7-b0=(see IERA/B) (0:nothing 1:pending) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Inter. In Service Register A/B ³ b7-b0=(see IERA/B) (0:nothing 1:in service) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Interrupt Mask Register A/B ³ b7-b0=(see IERA/B) (0:masked 1:authorized) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Vector Register ³ b7-b4=[b7-b4]=non auto-vector high ³ ³ b3=software interrupt mode ³ ³ 0:automatic end of interrupt ³ ³ 1:software end of interrupt ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Timer A/B Control Register ³ b4=reset ³ ³ 0:no ³ ³ 1:yes ³ ³ b3-b0=mode ³ ³ 0000:stop ³ ³ 0001:delay fr./4 ³ ³ 0010:delay fr./10 ³ ³ 0011:delay fr./16 ³ ³ 0100:delay fr./50 ³ ³ 0101:delay fr./64 ³ ³ 0110:delay fr./100 ³ ³ 0111:delay fr./200 ³ ³ (frequency=2.4576 MHz) ³ ³ 1000:event count ³ ³ (timer A input=printer busy ) ³ ³ (timer B input=display enable) ³ ³ 1001:measure fr./4 ³ ³ 1010:measure fr./10 ³ ³ 1011:measure fr./16 ³ ³ 1100:measure fr./50 ³ ³ 1101:measure fr./64 ³ ³ 1110:measure fr./100 ³ ³ 1111:measure fr./200 ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Timer C+D Control Register ³ b6-b4=timer C mode (see timer A/B b2-b0) ³ ³ b2-b0=timer D mode (see timer A/B b2-b0) ³ ³ (serial clock=timer D output) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Timer A/B/C/D Data Register ³ b7-b0=data ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Synchronous Character Register ³ b7-b0=character ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Universal ³ b7=serial frequency ³ synchronous asynchronous ³ 0:frequency ³ receiver transmitter ³ 1:frequency/16 ³ Control Register ³ b6-b5=character size ³ ³ 00:8 bits ³ ³ 01:7 bits ³ ³ 10:6 bits ³ ³ 11:5 bits ³ ³ b4-b3=frame ³ ³ transmission start-bit stop-bit ³ ³ 00:synchronous 0 0 ³ ³ 01:asynchronous 1 1 ³ ³ 10:asynchronous 1 1.5 ³ ³ 11:asynchronous 1 2 ³ ³ b2=parity ³ ³ 0:no ³ ³ 1:yes ³ ³ b1=parity type ³ ³ 0:odd ³ ³ 1:even ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Receiver Status Register ³ b7=buffer full (0:no 1:yes) ³ ³ b6=overrun error (0:no 1:yes) ³ ³ b5=parity error (0:no 1:yes) ³ ³ b4=frame error (async.) (0:no 1:yes) ³ ³ b3=found (sync.) / break (async.) ³ ³ 0:found 0:no detecded ³ ³ 1:search 1:detected ³ ³ b2=match (sync.) / character (async.) ³ ³ 0:no 0:nothing ³ ³ 1:yes 1:in progress ³ ³ b1=synchronous strip ³ ³ 0:disable ³ ³ 1:enable ³ ³ b0=receiver ³ ³ 0:disable ³ ³ 1:enable ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Transmitter Status Register ³ b7=buffer empty (0:no 1:yes) ³ ³ b6=underrun error (0:no 1:yes) ³ ³ b5=auto turnaround (0:no 1:yes) ³ ³ b4=end of transmission (0:no 1:yes) ³ ³ b3=break (async.) (0:no 1:yes) ³ ³ b2-b1=low and high bits ³ ³ 00:high impedance ³ ³ 01:low ³ ³ 10:high ³ ³ 11:high (loop back) ³ ³ b0=transmitter ³ ³ 0:disable ³ ³ 1:enable ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ USART Data Register ³ b7-b0=data ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ